package org.example.wx.Node.Interface;

import org.apache.zookeeper.KeeperException;

import java.util.List;

public interface ServiceRegister {

    void registService(String serviceName) throws Exception;

    void deRegistService(String serviceName) throws Exception;

    List<String> refreshServiceInfos(String serviceName) throws KeeperException, InterruptedException;

}
